<script setup lang="ts">
import { StageObject } from '@/objects/StageObject';
import {
    ElementObjectType,
} from '@/objects/ElementObject';
import SvgChild from './SvgChild.vue';
defineProps<{
    data: StageObject,
}>()
</script>
<template>
    <defs :id="data.id" v-if="data.type == ElementObjectType.defs">
        {{ data.children.length }}
        <SvgChild :data="data.children" />
    </defs>
</template>